#include <iostream>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <complex>
#include "AudioPlay.h"

using namespace std;

#ifdef __cplusplus
extern "C"{
#endif

void audio_demodulate(short DemoMode, double* IData, double* QData, int Len, double ChBw,	bool *errFlag, int* AudioDataLen, double* AudioData)
{
  GetAudioData(DemoMode, IData, QData, Len, ChBw, errFlag, AudioDataLen, AudioData);
}

#ifdef __cplusplus
}
#endif

//g++ -fpic -shared -g -I /usr/local/boost/include -L/usr/local/boost/lib audio.cpp audioPlay.cpp SignalResample.cpp -o libaudio.so